package com.cykj.system.api;

import com.cykj.common.core.constant.ServiceNameConstants;
import com.cykj.common.core.domain.R;
import com.cykj.common.core.web.domain.AjaxResult;
import com.cykj.system.api.model.BsLoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remoteShopUserService", value = ServiceNameConstants.SHOP_SERVICE)
public interface RemoteShopUserService {

    /**
    * @Description:通过手机号获取用户信息
    * @Param:[phone]
    * @Return:com.cykj.common.core.domain.R<com.cykj.system.api.domain.BsUser>
    */
    @GetMapping("/bsUser/getUser/{phone}")
    public R<BsLoginUser> getShopUserInfoByName(@PathVariable("phone") String phone);



}
